package com.zlt.bkparking.dto;

import com.fasterxml.jackson.annotation.JsonFormat;
import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;
import lombok.ToString;
import org.springframework.format.annotation.DateTimeFormat;

import java.util.Date;

/**
 * @Classname UserVipDTO
 * @Description TODO
 * @Date 2022/10/3 13:49
 * @Created by ${Lijijun}
 */
@Data
@ToString
@AllArgsConstructor
@NoArgsConstructor
public class UserVipDTO {
    private Long uvId;

    private String auId;

    private String auUsername;

    private Integer vtId;

    private String vtName;

//    @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss")
    @DateTimeFormat(pattern = "yyyy-MM-dd HH:mm:ss")
    private Date uvStart;

//    @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss")
    @DateTimeFormat(pattern = "yyyy-MM-dd HH:mm:ss")
    private Date uvEnd;

    private Byte uvState;

    private Integer page;

    private Integer limit;
}
